<link rel="stylesheet" href="<?= $base_url?>images/js/nivo-slider/themes/default/default.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?= $base_url?>images/js/nivo-slider/nivo-slider.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?= $base_url?>images/js/nivo-slider/style.css" type="text/css" media="screen" />

<div class="header">
    <div class="left">
        <img src="<?php echo $base_url.'images/icon-phone.png'; ?>"><span class="text">Tư vấn miễn phí:</span> <span class="phone">0168 000 000</span>
    </div>
    <div class="right">
        <form action="<?php echo $base_url; ?>tim-kiem" method="post" class="form-search">
            <input name="value" type="text" placeholder="Từ khóa ...">
            <input type="submit" value="Tìm kiếm">
        </form>
    </div>
    <div class="logo"><img src="<?php echo $base_url.'images/bg-logo.png'; ?>"></div>
    <div class="icon-logo"><img src="<?php echo $base_url.'images/icon-logo.png'; ?>"></div>
</div>
<div class="menu">
    <div class="main-menu">
        <ul>
            <li class="logo">&nbsp;</li>
            <li><h2><a class="<?php echo $this->menu_active == 'home' ? 'menu-active' : ''; ?>" href="<?php echo $base_url; ?>"><img src="<?php echo $base_url.'images/icon-home.png'; ?>"></a></h2></li>
            <li><h2><a class="<?php echo $this->menu_active == 'about' ? 'menu-active' : ''; ?>" href="<?php echo $base_url.'gioi-thieu.html'; ?>">Giới thiệu</a></h2></li>
            <li><h2><a class="<?php echo $this->menu_active == 'designwebs' ? 'menu-active' : ''; ?>" href="<?php echo $base_url,'thiet-ke-web'; ?>">Thiết kế web</a></h2>
                <ul>
                    <li><a href="">Dự án web</a></li>
                    <li><a href="">Các gói web</a></li>
                </ul>
            </li>
            <li><h2><a class="<?php echo $this->menu_active == 'servicewebs' ? 'menu-active' : ''; ?>" href="<?php echo $base_url,'dich-vu-web'; ?>">Dịch vụ web</a></h2></li>
            <li><h2><a class="<?php echo $this->menu_active == 'advertisings' ? 'menu-active' : ''; ?>" href="<?php echo $base_url.'quang-cao-web'; ?>">Quảng cáo web</a></h2>
                <ul>
                    <li><a href="">Dịch vụ seo</a></li>
                    <li><a href="">Email marketing</a></li>
                    <li><a href="">Thông tin bổ ích</a></li>
                </ul>
            </li>
            <li><h2><a class="<?php echo $this->menu_active == 'customers' ? 'menu-active' : ''; ?>" href="<?php echo $base_url.'khach-hang'; ?>">Khách hàng</a></h2></li>
        </ul>
    </div>
</div>
<div class="slider">
    <div class="slide">
        <div class="main-slide">
            <div class="main-lide-images">
                <div id="wrapper">
                    <div class="slider-wrapper theme-default">
                        <div id="slider" class="nivoSlider">
                            <?php foreach($this->slider_home as $row) :?>
                                <a href="<?=$row->link?>">
                                    <img src="<?= $base_url.$row->image ?>" alt="<?php echo $row->name_vietnamese; ?>" />
                                </a>
                            <?php endforeach ?>
                        </div>
                    </div>
                </div>
                <script type="text/javascript" src="<?= $base_url?>images/js/nivo-slider/jquery.nivo.slider.js"></script><script type="text/javascript" src="<?= $base_url?>images/js/nivo-slider/jquery.nivo.slider.js"></script>
                <script type="text/javascript">
                    $(window).load(function() {
                        $('#slider').nivoSlider({
                            pauseTime: 100000
                        });
                    });
                </script>
            </div>
        </div>
    </div>
</div>